home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
5_8.lha
/
5_8
/
5_8A1.h
< prev
next >
Wrap
Text File
|
1993-08-08
|
393b
|
17 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
* the result of randint() is always >= 0 */
* uniform distribution in the interval [0,MAX] */
lass randint
long randx;
ublic:
randint(long s = 0) { randx = s; }
void seed(long s) { randx = s; }
int draw();
float fdraw();
;